<%--
  Created by IntelliJ IDEA.
  User: 马跃
  Date: 2021/1/16
  Time: 1:13
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html style="height: 100%">
<head>
    <meta charset="UTF-8">
    <title>Insert title here</title>
    <style type="text/css">
        *{
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        #d1{
            width: 100%;
            height: 5%;
            background-color:#EEEEEE;
            position: relative;
            /* padding-top: 2.3%; */
        }
        #d1-1{
            width: 60%;
            height: 100%;
            float: left;
            padding-left: 40%;
            padding-top: 0.5%;
        }
        #d1-2{
            width: 40%;
            height: 100%;
            float: right;
            padding-left: 9%;
            padding-top: 0.5%;
        }
        #d2{
            width: 100%;
            height: 80%;
            position: relative;
            background-color:white;
            padding-left: 30%;
        }
        table{
            width:90%;
            /*height:100%;*/
            line-height: 40px;
            font-family: "宋体";
            font-size: 14px;

        }
        .inp01{
            width:30%;
            height:20px;

        }

        td{
            padding-left: 3%;
        }

    </style>
</head>
<body style="height: 100%">
<div id="d1">
    <div id="d1-1">编辑</div>
    <div id="d1-2"><img src="../../image/des.png" width="20px" height="20px">&nbsp;<a href="userManager.html" target="i"><img src="../../image/close.png" width="20px" height="20px"></a></div>
</div>
<div id="d2">
    <form action="/userUpdateEdit" method="post">
        <table >
            <tr>
                <td width="14%">账号</td>
                <td>
                    <input name="u_account" type="text" value="${user.u_account}" class="inp01">
                </td>
            </tr>
            <tr>
                <td>真实姓名</td>
                <td><input name="u_name" type="text" value="${user.u_name}" class="inp01"></td>
            </tr>
            <tr>
                <td>手机号码</td>
                <td><input name="u_phone" type="text" value="${user.u_phone}" class="inp01"></td>
            </tr>
            <tr>
                <td>年龄</td>
                <td><input name="u_age" type="text" value="${user.u_age}" class="inp01"></td>
            </tr>
            <tr>
                <td>是否启用</td>
                <td>
                    <input name="u_status" type="radio" value="1" ${user.u_status==1?"checked":""} style="width: 10%" height="10%">启用
                    <input name="u_status" type="radio" value="2" ${user.u_status==2?"checked":""} style="width: 10%" height="10%">禁止
                </td>
            </tr>
            <tr>
                <td></td>
                <td style="padding-left: 30px"><input type="submit" value="更新"  style=" width: 12%; height:12%;background-color: #009688;" ></td>
            </tr>
        </table>
    </form>
</div>

</body>
</html>
